package com.wsmall.fenxiao.order.web;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient("fenxiao-goods")
public interface GoodsServiceClient {

  @RequestMapping("/goods")
  String getGoodsNames(@RequestParam("goods") String goods);
}
